package com.ruoyi.wechat.service;

import com.ruoyi.wechat.domain.vo.AjaxResult;
import com.wechat.pay.java.service.payments.model.Transaction;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface WxPayService {

    Map<String, Object> prePay(Long id) throws Exception;

    AjaxResult payNotify(HttpServletRequest request) throws Exception;

    Transaction queryPayOrder(String tradeNo);
}
